package com.woniuxy.platform.client;


import com.woniuxy.platform.client.param.AddUserParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import result.Result;

/**
* name是项目名，contextId是client的名字
*/
@FeignClient(contextId = "userManageClient",name="platform",path="/platform")
public interface UserManageClient {

    @PostMapping("/user")
    public Result addUser(@RequestBody AddUserParam param);


}
